
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenNeirong"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.dangweifawen.vo.TDangweifawenNeirong"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.dangweishouwen.vo.TDangweishouwenNeirong"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.xingzhengshouwen.vo.TXingzhengshouwenNeirong"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
/*  List xingzhengfawenNeirongList = (List)request.getAttribute("xingzhengfawenNeirongList"); 
List dangweifawenNeirongList = (List)request.getAttribute("dangweifawenNeirongList"); 
List dangweishouwenNeirongList = (List)request.getAttribute("dangweishouwenNeirongList"); 
List xingzhengshouwenNeirongList = (List)request.getAttribute("xingzhengshouwenNeirongList");
List gonghuifaweiNeirongList = (List)request.getAttribute("gonghuifaweiNeirongList");
List jiWeiFaWenList = (List)request.getAttribute("jiWeiFaWenList");
List tuanWeiFaWenList = (List)request.getAttribute("tuanWeiFaWenList");
List xingzhengshanshuoList = (List)request.getAttribute("xingzhengshanshuoList");
List dangweishanshuoList = (List)request.getAttribute("dangweishanshuoList");
Integer downxingzhengfawenCount = (Integer)request.getAttribute("downxingzhengfawenCount");
Integer downdangweifawenCount = (Integer)request.getAttribute("downdangweifawenCount");

//王维 开始 
 
Integer weiduemailsize = (Integer)request.getAttribute("weiduemailsize");
Integer newFile = (Integer)request.getAttribute("newFile");
Integer meetsize = (Integer)request.getAttribute("meetsize");
Integer meettruesize = (Integer)request.getAttribute("meettruesize");
Integer meetfalsesize = (Integer)request.getAttribute("meetfalsesize");
//王维 结束 */ 

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="x-ua-compatible" content="ie=7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>粮油集团办公自动化协作平台</title>

<link href="<%=basePath %>style/txlz7.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>style/add.css" rel="stylesheet" type="text/css" />
<style >
	.red{  color:#15428B;}
	.green{ color:#FF3333;}
</style>
<script type="text/javascript" src="<%=basePath %>js/common/system/time.js"></script>
<script language="javascript"> 
 	function shake(ele,cls,cls2,times){           
        var i = 0,t= false;
        var state = true;
        if(t) return;
        t = setInterval(function(){
            
                        
            if(state){
            	ele.attr("class",cls);
            	state = false;
            }else{
            	ele.attr("class",cls2);
            	state = true;
            }
        },1000);
     }; 
function textshow(){
	shake($(".news_add span a"),"red","green",300000);
	shake($(".news_add span"),"red","green",300000);
}     
</script>
</head>
<!-- <body style="overflow-x:hidden;overflow-y: scroll" onload="textshow()"> -->
<body>
<div id="rightindex" >
  <%--  <table border="0" cellpadding="0" cellspacing="0" style="height:100%;width:100%">
  <tr>
   <td valign="top" style="height:99.5%;width:100%" ><div id="tab"  style="height:100%;" >
      <!--导航开始处-->
      <div id="indextit"><img src="<%=basePath %>images/last.jpg" /></div>
        <div id="index_main">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px">
          <tr>
            <td width="50%">
                       <div class="news_add">
                       		<div class="title">
                       			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                	<tr>
                                    	<td width="92%">
                                    		<h1>党办发文
			                                	<%
			                                		Iterator dangweishanshuoIterator = dangweishanshuoList.iterator();
			                                		while(dangweishanshuoIterator.hasNext())
			                                		{
			                                			String shanshuo = (String)dangweishanshuoIterator.next(); 	
			                                	%>
			                                		<span><%=shanshuo %></span>	&nbsp;
			                                	<%
			                                		}
			                                	%>
			                                </h1>
                                    	</td>
                                        <td width="8%"><a href="<%=basePath %>tjsinfo/tjsoa/xingzhengfawen/fawenadmin.do" ><img src="<%=basePath %>images/more.gif" /></a></td>
                                    </tr>
                                </table>
                       			                                                               
                            </div>
                            
                            <ul>
                               <%
                            	  Iterator dangweifawenIterator =  dangweifawenNeirongList.iterator();
                            	  while(dangweifawenIterator.hasNext()){
                            		  TDangweifawenNeirong dangweifawenNeirong = (TDangweifawenNeirong)dangweifawenIterator.next();
                            		  String str = "dangweifawen";
                            		  if(("首页待办").equals(dangweifawenNeirong.getFenshu()))
                            		  {
                            			  str = "dangweizhijiefawen";
                            		  }
                            		  if(dangweifawenNeirong.getIsDown() != null && dangweifawenNeirong.getIsDown() == 1)                            			  
                            		  {
                            	 %>
                            	 	<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=downkongzhi&id=<%=dangweifawenNeirong.getId() %>&taskid=<%=dangweifawenNeirong.getTaskId() %>&databaseId=<%=dangweifawenNeirong.getDataBaseId() %>"><%=dangweifawenNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=dangweifawenNeirong.getDangqianhuanjie() %>)</a></li>
                            	 		
                            	 <%
                            		  }
                            		  else
                            		  {
                            	 %>
                            	 	<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=kongzhi&id=<%=dangweifawenNeirong.getId() %>&taskid=<%=dangweifawenNeirong.getTaskId() %>"><%=dangweifawenNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=dangweifawenNeirong.getDangqianhuanjie() %>)</a></li>
                            	 <% 		  
                            		  }
                            	  }
                            	%>
                            </ul>
                       </div>
                       
            </td>
            <td width="50%">
                       <div class="news_add">
                       		<div class="title">
                       			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                	<tr>
                                    	<td width="92%">
                                    		  <h1>行政发文
			                                	<%
			                                		Iterator xingzhengshanshuoIterator = xingzhengshanshuoList.iterator();
			                                		while(xingzhengshanshuoIterator.hasNext())
			                                		{
			                                			String shanshuo = (String)xingzhengshanshuoIterator.next(); 	
			                                	%>
			                                		<span ><%=shanshuo %></span>	&nbsp;
			                                	<%
			                                		}
			                                	%>
			                                	
			                                </h1>
                                    	</td>
                                        <td width="8%"><a href="<%=basePath %>tjsinfo/tjsoa/xingzhengfawen/fawenadmin.do"><img src="<%=basePath %>images/more.gif" /></a></td>
                                    </tr>
                                </table>
                       			
                            </div>
                          
                            <ul>
                            	<%
                            	  Iterator xingzhengfawenIterator =  xingzhengfawenNeirongList.iterator();
                            	  while(xingzhengfawenIterator.hasNext()){
                            		  TXingzhengfawenNeirong xingzhengfawenNeirong = (TXingzhengfawenNeirong)xingzhengfawenIterator.next();
                            		  System.out.println();
                            		  String str = "xingzhengfawen";
                            		  if(("首页待办").equals(xingzhengfawenNeirong.getFenshu()))
                            		  {
                            			  str = "xingzhengzhijiefawen";
                            		  }
                            		  if(xingzhengfawenNeirong.getIsDown() != null && xingzhengfawenNeirong.getIsDown() == 1)
                            		  {
                            	%>
                            		<li><a href="<%=basePath %>tjsinfo/tjsoa/xingzhengfawen/shenpi.do?method=downkongzhi&id=<%=xingzhengfawenNeirong.getId() %>&taskid=<%=xingzhengfawenNeirong.getTaskId() %>&databaseId=<%=xingzhengfawenNeirong.getDataBaseId() %>"><%=xingzhengfawenNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=xingzhengfawenNeirong.getDangqianhuanjie() %>)</a></li>	
                            	<% 		  
                            		  }
                            		  else
                            		  {
                            	%>
                            		<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=kongzhi&id=<%=xingzhengfawenNeirong.getId() %>&taskid=<%=xingzhengfawenNeirong.getTaskId() %>"><%=xingzhengfawenNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=xingzhengfawenNeirong.getDangqianhuanjie() %>)</a></li>
                            	<% 		  
                            		  }
                            	 %>
                            	 	
                            	 <% 	  
                            	  }
                            	%>
                            </ul>
                       </div>
            </td>
          </tr>
        </table>
        <div class="clear"></div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px">
          <tr>
           <td width="50%">
                       <div class="news_add">
                       		<div class="title">
                       			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                	<tr>
                                    	<td width="92%"><h1>党办收文<%
	                                    					if(downdangweifawenCount > 0 )
	                                    					{                                    						
	                                    				%>
	                                    					<span ><a href="<%=basePath %>documentationflow/dangweishouwen/downshouwenlist.jsp">收到的文件(<%=downdangweifawenCount %>)</a></span>&nbsp;
	                                    				<% 		
	                                    					}
	                                    				%></h1></td>
                                        <td width="8%"><a href="<%=basePath %>tjsinfo/tjsoa/xingzhengshouwen/shouwenadmin.do"><img src="<%=basePath %>images/more.gif" /></a></td>
                                    </tr>
                                </table>
                       			
                            </div>
                           
                            <ul>
                               <%
                            	  Iterator dangweishouwenIterator =  dangweishouwenNeirongList.iterator();
                            	  while(dangweishouwenIterator.hasNext()){
                            		  TDangweishouwenNeirong dangweishouwenNeirong = (TDangweishouwenNeirong)dangweishouwenIterator.next();
                            	 %>
                            	 	<li><a href="<%=basePath %>tjsinfo/tjsoa/dangweishouwen/shenpi.do?method=kongzhi&id=<%=dangweishouwenNeirong.getId() %>&taskid=<%=dangweishouwenNeirong.getTaskId() %>"><%=dangweishouwenNeirong.getBiaoTiDisplay() %>&nbsp;&nbsp;&nbsp;(<%=dangweishouwenNeirong.getDangqianhuanjie() %>)</a></li>
                            	 <% 	  
                            	  }
                            	%>
                                
                            </ul>
                       </div>
            </td>
            <td width="50%">
                       <div class="news_add">
                       		<div class="title">
                       			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                	<tr>
                                    	<td width="92%"><h1>行政收文<%
	                                    					if(downxingzhengfawenCount > 0 )
	                                    					{                                    						
	                                    				%>
	                                    					<span ><a href="<%=basePath %>documentationflow/xingzhengshouwen/downshouwenlist.jsp">收到的文件(<%=downxingzhengfawenCount %>)</a></span>&nbsp;
	                                    				<% 		
	                                    					}
	                                    				%></h1></td>
                                        <td width="8%"><a href="<%=basePath %>tjsinfo/tjsoa/xingzhengshouwen/shouwenadmin.do"><img src="<%=basePath %>images/more.gif" /></a></td>
                                    </tr>
                                </table>
                       			
                            </div>                            
                            <ul>
                                <%
                            	  Iterator xingzhengshouwenIterator =  xingzhengshouwenNeirongList.iterator();
                            	  while(xingzhengshouwenIterator.hasNext()){
                            		  TXingzhengshouwenNeirong xingzhengshouwenNeirong = (TXingzhengshouwenNeirong)xingzhengshouwenIterator.next();
                            	 %>
                            	 	<li><a href="<%=basePath %>tjsinfo/tjsoa/xingzhengshouwen/shenpi.do?method=kongzhi&id=<%=xingzhengshouwenNeirong.getId() %>&taskid=<%=xingzhengshouwenNeirong.getTaskId() %>"><%=xingzhengshouwenNeirong.getBiaoTiDisplay()%>&nbsp;&nbsp;&nbsp;(<%=xingzhengshouwenNeirong.getDangqianhuanjie() %>)</a></li>
                            	 <% 	  
                            	  }
                            	%>
                            </ul>
                       </div>
            </td>
          </tr>
        </table>
        <div class="clear"></div>
  
         <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px">
          <tr>
            <td width="50%">
                       <div class="news_add">
                       		<div class="title">
                       			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                	<tr>
                                    	<td width="92%"><h1>工会发文</h1></td>
                                        <td width="8%"><a href="<%=basePath %>documentationflow/dangweifawen/daibanlist.jsp?state=4"><img src="<%=basePath %>images/more.gif" /></a></td>
                                    </tr>
                                </table>
                       			
                            </div>                                
                            <ul>
                                <%
                            	  Iterator gonghuifaweiIterator =  gonghuifaweiNeirongList.iterator();
                            	  while(gonghuifaweiIterator.hasNext()){
                            		  TDangweifawenNeirong gonghuifaweiNeirong = (TDangweifawenNeirong)gonghuifaweiIterator.next();
                            		  String str = "dangweifawen";
                            		  if(("首页待办").equals(gonghuifaweiNeirong.getFenshu()))
                            		  {
                            			  str = "dangweizhijiefawen";
                            		  }
                            		  if(gonghuifaweiNeirong.getIsDown() != null && gonghuifaweiNeirong.getIsDown() == 1)
                            		  {
                            	%>
										<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=downkongzhi&id=<%=gonghuifaweiNeirong.getId() %>&taskid=<%=gonghuifaweiNeirong.getTaskId() %>&databaseId=<%=gonghuifaweiNeirong.getDataBaseId() %>"><%=gonghuifaweiNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=gonghuifaweiNeirong.getDangqianhuanjie() %>)</a></li>                            		
                            	<% 		  
                            		  }
                            		  else
                            		  {
                            	%>
                            			<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=kongzhi&id=<%=gonghuifaweiNeirong.getId() %>&taskid=<%=gonghuifaweiNeirong.getTaskId() %>"><%=gonghuifaweiNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=gonghuifaweiNeirong.getDangqianhuanjie() %>)</a></li>
                            	<% 		  
                            		  }
                            	 %>
                            	 	
                            	 <% 	  
                            	  }
                            	%>
                            </ul>
                       </div>
            </td>
            <td width="50%">
                       <div class="news_add">
                            <div class="title">
                            	<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                	<tr>
                                    	<td width="92%"><h1>纪委发文</h1></td>
                                        <td width="8%"><a href="<%=basePath %>documentationflow/dangweifawen/daibanlist.jsp?state=3"><img src="<%=basePath %>images/more.gif" /></a></td>
                                    </tr>
                                </table>
                            	
                            </div>                                
                            <ul>
                                <%
                            	  Iterator jiWeiFaWenIterator =  jiWeiFaWenList.iterator();
                            	  while(jiWeiFaWenIterator.hasNext()){
                            		  TDangweifawenNeirong jiWeifaweiNeirong = (TDangweifawenNeirong)jiWeiFaWenIterator.next();
                            		  String str = "dangweifawen";
                            		  if(("首页待办").equals(jiWeifaweiNeirong.getFenshu()))
                            		  {
                            			  str = "dangweizhijiefawen";
                            		  }
                            		  if(jiWeifaweiNeirong.getIsDown() != null && jiWeifaweiNeirong.getIsDown() == 1)
                            		  {
                            	%>
										<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=downkongzhi&id=<%=jiWeifaweiNeirong.getId() %>&taskid=<%=jiWeifaweiNeirong.getTaskId() %>&databaseId=<%=jiWeifaweiNeirong.getDataBaseId() %>"><%=jiWeifaweiNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=jiWeifaweiNeirong.getDangqianhuanjie() %>)</a></li>                            		
                            	<% 		  
                            		  }
                            		  else
                            		  {
                            	%>
                            			<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=kongzhi&id=<%=jiWeifaweiNeirong.getId() %>&taskid=<%=jiWeifaweiNeirong.getTaskId() %>"><%=jiWeifaweiNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=jiWeifaweiNeirong.getDangqianhuanjie() %>)</a></li>
                            	<% 		  
                            		  }
                            	 %>
                            	 	
                            	 <% 	  
                            	  }
                            	%>

                            </ul>
                       </div>
            </td>
          </tr>
        </table>
        <div class="clear"></div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px">
          <tr>
            <td width="50%">
                       <div class="news_add">
                             <div class="title">
                             	<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                	<tr>
                                    	<td width="92%"><h1>团委发文</h1></td>
                                        <td width="8%"><a href="<%=basePath %>documentationflow/dangweifawen/daibanlist.jsp?state=2"><img src="<%=basePath %>images/more.gif" /></a></td>
                                    </tr>
                                </table>
                             	
                            </div>                             
                            <ul>
                               <%
                            	  Iterator tuanWeiFaWenIterator =  tuanWeiFaWenList.iterator();
                            	  while(tuanWeiFaWenIterator.hasNext()){
                            		  TDangweifawenNeirong tuanWeifaweiNeirong = (TDangweifawenNeirong)tuanWeiFaWenIterator.next();
                            		  String str = "dangweifawen";
                            		  if(("首页待办").equals(tuanWeifaweiNeirong.getFenshu()))
                            		  {
                            			  str = "dangweizhijiefawen";
                            		  }
                            		  if(tuanWeifaweiNeirong.getIsDown() != null && tuanWeifaweiNeirong.getIsDown() == 1)
                            		  {
                            	%>
										<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=downkongzhi&id=<%=tuanWeifaweiNeirong.getId() %>&taskid=<%=tuanWeifaweiNeirong.getTaskId() %>&databaseId=<%=tuanWeifaweiNeirong.getDataBaseId() %>"><%=tuanWeifaweiNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=tuanWeifaweiNeirong.getDangqianhuanjie() %>)</a></li>                            		
                            	<% 		  
                            		  }
                            		  else
                            		  {
                            	%>
                            			<li><a href="<%=basePath %>tjsinfo/tjsoa/<%=str %>/shenpi.do?method=kongzhi&id=<%=tuanWeifaweiNeirong.getId() %>&taskid=<%=tuanWeifaweiNeirong.getTaskId() %>"><%=tuanWeifaweiNeirong.getBiaoTiDisplay().replace("<br/>","") %>&nbsp;&nbsp;&nbsp;(<%=tuanWeifaweiNeirong.getDangqianhuanjie() %>)</a></li>
                            	<% 		  
                            		  }
                            	 %>
                            	 	
                            	 <% 	  
                            	  }
                            	%>
                            </ul>
                       </div>
            </td>
            <td width="50%">
                       <div class="xxl">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="202"><h1>信息栏</h1></td>
                                <td><h2>&nbsp;</h2></td>
                              </tr>
                            </table>
                            <div class="workxxl">
                                <ul>
                                <%if(weiduemailsize!=null){if(weiduemailsize>0){%>
                                    <li><a href="<%=basePath %>email/mailall.jsp" target="_parent">您有 <%=weiduemailsize %> 封新邮件</a></li>
                                <%}}%>
                                <%if(newFile!=null){if(newFile>0){%>
                                    <li><a href="<%=basePath %>fileExpress/frame.jsp" target="_parent">您有 <%=newFile %>  个新文件</a></li>
                                <%}}%>
                                <%if(meetsize!=null){if(meetsize>0){%>
                                    <li><a href="<%=basePath %>/tjsinfo/tjsoa/meetingroom/empolyList.do">您有 <%=meetsize %> 个会议审批</a></li>
                                <%}}%>
                                <%if(meettruesize!=null){if(meettruesize>0){%>
                                    <li><a href="<%=basePath %>tjsinfo/tjsoa/meetingroom/myMeeting.do">您有 <%=meettruesize %> 个会议通知</a></li>
                                <%}}%>
                                <%if(meetfalsesize!=null){if(meetfalsesize>0){%>
                                    <li><a href="<%=basePath %>tjsinfo/tjsoa/meetingroom/applicationMeeting.do">您有 <%=meetfalsesize %> 个会议申请被拒绝</a></li>
                                <%}}%>
                                </ul>
                            </div>
						</div>
            </td>
          </tr>
        </table>
        <div class="clear"></div>
        
<style>
.indexbottomgd01{
background:url(images/fddf_03.gif) repeat-x 0 0; height:31px; width:79px}
.indexbottomgd02 .heibg01{
background:url(images/fddf_09.gif) repeat-x 0 0; height:23px;}
.indexbottomgd02 .heibg03{
background:url(images/fddf_13.gif) repeat-x 0 0; height:23px; width:24px}
.indexbottomgd03{
background:url(images/fddf_06.gif) repeat-x 0 0; height:31px; width:5px}
</style>        
        
        
       
        
        
        
        
        
        
        
      </div>
   </div> 
   </td>
   <td valign="top" style="height:99.5%">
   <div id="gjl" style="height: 100%;width:259px;">
      <div id="indextit"><img src="<%=basePath %>images/gjlicon.jpg" /></div>
      <div id="index_wnl">
       <div class="wnl">
	      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="86">
              <tr>
                <td align="center" width="28%"><a href="<%=basePath %>media/datetime.html" target="_black"><img src="<%=basePath%>images/wnl04.jpg" /></a></td>
                <td align="center" width="72%" id="time"><script language="JavaScript" type="text/javascript">ShowTime();</script></td>
              </tr>
          </table>
       </div>
       
      </div>
      <div id="notice_left">
      </div>
       <div style="margin-left:1px;">
         <jsp:include page="../system/zhibanlist.jsp"></jsp:include>
      </div>
            <div style="margin-left:1px;">
         <jsp:include page="../system/calendar.jsp"></jsp:include>
      </div>
   </div>
   </td> 
   </tr></table>  --%>
</div>
</body>
</html>
